<template>
  <div>
    <div class="header">
      <div class="btnGroup">
        <button class="leftButton">
          <img src="../assets/return.png" alt="" />
        </button>
        <div class="line"></div>
        <button class="back-button">
          <img src="../assets/index.png" alt="" />
        </button>
      </div>

      <div class="title">客服</div>
    </div>
    <div class="mainCont">
      <div class="imgBox">
        <img
          class="Img1"
          src="https://mloongbld.obs.cn-north-4.myhuaweicloud.com/mp-weixin-white/kefu-2.png"
          alt=""
        />
      </div>
      <div class="vip">
        <div class="f34r">
          VIP专属客服
          <span class="f24r">/</span>
        </div>
        <div class="r">
          <p>专业解答 高效响应 贴心服务</p>
          <p>全天候身心为您服务是我们的责任</p>
        </div>
      </div>
      <div class="kefu">
        <button>在线人工客服</button>
      </div>
      <div class="btmCont">
        <div class="phone">
          <p>客服电话</p>
          <div>
            <p>027-6349-7692</p>
            <img src="../assets/右箭头.png" alt="" />
          </div>
        </div>
        <div class="time">
          <p>工作时间</p>
          <div>
            <p>9:00-23:59</p>
          </div>
        </div>
        <div class="fankui">
          <p>用户反馈</p>
          <div>
            <p>提建议</p>
            <img src="../assets/右箭头.png" alt="" />
          </div>
        </div>
      </div>
    </div>

    <router-view />
  </div>
</template>

<style lang="scss" scoped>
@import "../../public/reset.scss";
body {
  padding: 0;
  margin: 0;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  // padding: 0.1rem 0.2rem;
  padding-top: 0.06rem;
  // background-color: #07c160;
  color: #000;
  font-size: 0.3rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  .btnGroup {
    display: flex;
    justify-content: space-between;
    .line {
      width: 0.03rem;
      height: 0.4rem;
      background-color: #ccc;
      line-height: 0.4rem;
      margin-top: 0.14rem;
    }
    .back-button {
      background: none;
      padding: 0;
      margin: 0;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      margin-bottom: 0.09rem;
      img {
        margin-top: 0.1rem;
        width: 0.5rem;
        height: 0.5rem;
        margin-left: 0.16rem;
      }
    }
    .leftButton {
      background: none;
      padding-bottom: 0;
      margin: 0;
      border: none;
      color: white;
      // font-size: 24px;
      cursor: pointer;
      img {
        // margin-top: 0.1rem;
        width: 0.3rem;
        height: 0.3rem;
        margin-right: 0.1rem;
        margin-bottom: 0.05rem;
      }
    }
  }

  .title {
    flex-grow: 1;
    text-align: center;
    margin-bottom: 0.1rem;
    padding-right: 1.2rem;
  }
}
.mainCont {
  overflow: hidden;
  .imgBox {
    width: 100%;
    height: 5.2rem;
    .Img1 {
      width: 100%;
      height: 100%;
    }
  }
  .vip {
    padding: 0.34rem;
    background-color: #fff;
    display: flex;
    align-items: start;
    .f34r {
      display: flex;
      align-items: center;
      font-size: 0.36rem;
      .f24r {
        font-size: 0.2rem;
        padding: 0 0.1rem;
      }
    }
    .r {
      flex: 1;
      p {
        margin-top: 0.06rem;
        margin-bottom: 0.34rem;
      }
    }
  }
  .kefu {
    width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 0;
    padding: 0;
    button {
      width: 3rem;
      height: 0.7rem;
      font-size: 0.3rem;
      border: 0.01rem solid #fa5f2e;
      // border-color: #fa5f2e;
      color: #fa5f2e;
      background-color: #fff;
    }
  }
  .btmCont {
    width: 100%;
    height: 4rem;
    background-color: #f5f5f5;
    margin-top: 0.5rem;
    padding-top: 0.2rem;
    .phone {
      background-color: #fff;
      width: 7.2rem;
      height: 0.78rem;
      display: flex;
      justify-content: space-between;
      padding: 0 0.4rem;
      margin-bottom: 0.2rem;
      div {
        width: 3rem;
        padding: 0 0.4rem;
        display: flex;
        justify-content: space-around;
        box-sizing: border-box;
        img {
          width: 0.22rem;
          height: 0.22rem;
          margin-top: 0.28rem;
        }
      }
    }
    .time {
      background-color: #fff;
      width: 7.2rem;
      height: 0.78rem;
      display: flex;
      justify-content: space-between;
      padding: 0 0.4rem;
      margin-bottom: 0.2rem;
      div {
        width: 2.45rem;
        padding: 0 0.4rem;
        box-sizing: border-box;
      }
    }
    .fankui {
      background-color: #fff;
      width: 7.2rem;
      height: 0.78rem;
      display: flex;
      justify-content: space-between;
      padding: 0 0.4rem;
      margin-bottom: 0.2rem;
      div {
        width: 3rem;
        padding: 0 0.4rem 0 1.36rem;
        display: flex;
        justify-content: space-around;
        box-sizing: border-box;
        img {
          width: 0.22rem;
          height: 0.22rem;
          margin-top: 0.28rem;
        }
      }
    }
  }
}
</style>
